From e56bbfb51f04c351108c89078c627937ebca7bef Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Sun, 13 Oct 2024 17:33:23 +0100 Subject: Refactors About and Contact pages --- src/pages/[locale]/submit.astro | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/pages/[locale]/submit.astro (limited to 'src/pages/[locale]/submit.astro') diff --git a/src/pages/[locale]/submit.astro b/src/pages/[locale]/submit.astro new file mode 100644 index 0000000..599b9b6 --- /dev/null +++ b/src/pages/[locale]/submit.astro @@ -0,0 +1,21 @@ +--- +import Page from '$layouts/Page.astro'; +import localeStaticPaths from '$lib/localeStaticPaths'; +import translate from '$i18n/translate'; +import tPage from '$i18n/translations/pages/submit'; +import type Locale from '$types/Locale'; + +export async function getStaticPaths() { + return localeStaticPaths; +} + +const locale = Astro.params.locale as Locale; +const t = translate(locale); +--- + + +
+

+

+

+
-- cgit v1.2.3